export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  dialogDirection: "rtl",
  searchMenuSpan: 6,
  column: [
    {
      type: "input",
      label: "资源类型 1 图片 2 视频",
      prop: "type",
    },
    {
      type: "input",
      label: "资源名称",
      prop: "name",
    },
    {
      type: "input",
      label: "资源地址",
      prop: "url",
      type: "upload",
      action: "/fastfile/upload/szgk-1256675456",
      listType: "picture-card",
      dataType: "string",
      // limit: 2,
      propsHttp: {
        res: "data",
        url: "kpath",
      },
      span: 24,
    },
    {
      type: "datetime",
      label: "创建时间",
      prop: "createTime",
    },
    {
      type: "input",
      label: "创建人",
      prop: "createBy",
    },
    {
      type: "input",
      label: "修改时间",
      prop: "updateTime",
    },
    {
      type: "input",
      label: "修改人",
      prop: "updateBy",
    },
    {
      type: "input",
      label: "逻辑删除标记",
      prop: "enable",
    },
    {
      type: "input",
      label: "排序号",
      prop: "sort",
    },
    {
      type: "input",
      label: "备注",
      prop: "remark",
    },
  ],
};
